package com.example.medicalzb.domain;

import com.example.medicalzb.domain.superdomain.SuperDomain;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Pattern;
import java.util.Date;

@Data
@ToString
public class MedicalPolicy extends SuperDomain {
    @Pattern(regexp = "(^[0-9]*)",message = "编号只能为数字")
    private Long id;
    private String title;
    private String message;
    private Long cityId;
    private String createTime;
    private String updateTime;
}
